package com.gnote.springai.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

/**
 * 对话记录
 *
 * @TableName chat_messages
 */
@TableName(value = "chat_messages")
@Data
@Builder
public class ChatMessages {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 会话内容json
     */
    private String messages;

    /**
     * 会话id
     */
    private String memoryId;

    /**
     * 用户id
     */
    private String userId;
}